package com.xnew.entity.memberArchives;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.xnew.bean.common.FileInfo;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* @Author: Zhozh
* @Description: 公司报告信息表
* @DateTime: 2022/5/30
* @Params:
* @Return
*/
@TableName("t10_comp_rpt_info")
public class CompRptInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 公司报告信息编号
    */
    @TableId("comp_rpt_info_no")
    private String compRptInfoNo;

    /**
    * 信息报送审核状态编码
    */
    private String infsubAuditStatusCode;

    /**
    * 机构用户编号
    */
    private String orgUserNo;

    /**
    * 公司报告类型编码
    */
    private String compRptTypeCode;

    /**
    * 公司报告名称
    */
    private String compRptName;

    /**
    * 公司报告报送日期
    */
    private String compRptSubmtdDate;

    /**
    * 信息录入时间
    */
    private String infoInputTime;

    /**
    * 信息修改时间
    */
    private String infoModyTime;

    /**
    * 信息录入人编号
    */
    private String infoInputPsnNo;

    /**
    * 信息修改人编号
    */
    private String infoModyPsnNo;

    /**
    * 是否关闭状态
    */
    private String isCloseStatus;

    @TableField(exist = false)
    private List<AuditLog> auditLogList;


    public List<AuditLog> getAuditLogList() {
        return auditLogList;
    }

    public void setAuditLogList(List<AuditLog> auditLogList) {
        this.auditLogList = auditLogList;
    }


    @TableField(exist = false)
    private List<FileInfo> fileList;

    public List<FileInfo> getFileList() {
        return fileList;
    }

    public void setFileList(List<FileInfo> fileList) {
        this.fileList = fileList;
    }


    @TableField(exist = false)
    private List<MemInfoChgHist> histList;

    public List<MemInfoChgHist> getHistList() {
        return histList;
    }

    public void setHistList(List<MemInfoChgHist> histList) {
        this.histList = histList;
    }

    public CompRptInfo() {
    }

    public String getCompRptInfoNo() {
        return compRptInfoNo;
    }

    public void setCompRptInfoNo(String compRptInfoNo) {
        this.compRptInfoNo = compRptInfoNo;
    }

    public String getInfsubAuditStatusCode() {
        return infsubAuditStatusCode;
    }

    public void setInfsubAuditStatusCode(String infsubAuditStatusCode) {
        this.infsubAuditStatusCode = infsubAuditStatusCode;
    }

    public String getOrgUserNo() {
        return orgUserNo;
    }

    public void setOrgUserNo(String orgUserNo) {
        this.orgUserNo = orgUserNo;
    }

    public String getCompRptTypeCode() {
        return compRptTypeCode;
    }

    public void setCompRptTypeCode(String compRptTypeCode) {
        this.compRptTypeCode = compRptTypeCode;
    }

    public String getCompRptName() {
        return compRptName;
    }

    public void setCompRptName(String compRptName) {
        this.compRptName = compRptName;
    }

    public String getCompRptSubmtdDate() {
        return compRptSubmtdDate;
    }

    public void setCompRptSubmtdDate(String compRptSubmtdDate) {
        this.compRptSubmtdDate = compRptSubmtdDate;
    }

    public String getInfoInputTime() {
        return infoInputTime;
    }

    public void setInfoInputTime(String infoInputTime) {
        this.infoInputTime = infoInputTime;
    }

    public String getInfoModyTime() {
        return infoModyTime;
    }

    public void setInfoModyTime(String infoModyTime) {
        this.infoModyTime = infoModyTime;
    }

    public String getInfoInputPsnNo() {
        return infoInputPsnNo;
    }

    public void setInfoInputPsnNo(String infoInputPsnNo) {
        this.infoInputPsnNo = infoInputPsnNo;
    }

    public String getInfoModyPsnNo() {
        return infoModyPsnNo;
    }

    public void setInfoModyPsnNo(String infoModyPsnNo) {
        this.infoModyPsnNo = infoModyPsnNo;
    }

    public String getIsCloseStatus() {
        return isCloseStatus;
    }

    public void setIsCloseStatus(String isCloseStatus) {
        this.isCloseStatus = isCloseStatus;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"infsubAuditStatusCode","compRptTypeCode","isCloseStatus","auditLogList"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0149","DG0180","DG0104","LIST"};
    }
}